package com.example.system_backend.repository;


import com.example.system_backend.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, String> {
    public User findByEmail(String email);
    public User findByEmailAndPassword(String email, String password);
}
